package com.cloud.platform.api;

import com.cloud.platform.service.RibbonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fuminwang
 * @Title: RibbonController
 * @Package com.cloud.platform.api
 * @Description:
 * @date 2018/11/1下午5:15
 */
@RestController
public class RibbonController {

    @Autowired
    private RibbonService ribbonService;

    @RequestMapping("/")
    public String home() {
        return "service is  " + ribbonService.getServiceTest();
    }
}
